package com.andkrup.easygame.game.objects {
	import com.andkrup.geom.Vector2D;	
	
	import flash.geom.Point;	
	
	/**
	 * @author Andkrup
	 */
	public interface ITarget {
		/**
		 * Adjust a soldiers general health, 0 is unconscious, below 0 is dead
		 */
		function set health(value:uint):void;
		/**
		 * Measures a soldiers general health, 0 is unconscious, below 0 is dead
		 */
		function get health():uint;
		/**
		 * The 2d position of the target
		 */
		function get position():Point;
		/**
		 * Check that a vector intersects with this instance
		 */
		function hitTest(vector:Vector2D):Boolean;
	}
}
